"""
    @Author  ：思念 
    @File    ：6.动作链.py
    @Date    ：2025/4/9 15:15 
"""
import time
from DrissionPage import ChromiumPage
from DrissionPage.common import By


page = ChromiumPage()
page.get('https://www.runoob.com/try/try.php?filename=jqueryui-api-droppable')

source = page.ele((By.ID, "draggable"))
target = page.ele((By.ID, "droppable"))
page.actions.hold(source).release(target)
time.sleep(3)


page.quit()